<?php

namespace app\models\user;

use Yii;

/**
 * This is the model class for table "user_refund".
 *
 * @property int $id
 * @property int $order_id
 * @property string|null $commission_ids
 * @property string $create_time
 */
class UserRefund extends \yii\db\ActiveRecord
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return 'user_refund';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['order_id'], 'integer'],
            [['commission_ids'], 'string'],
            [['create_time'], 'safe'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'order_id' => 'Order ID',
            'commission_ids' => 'Commission Ids',
            'create_time' => 'Create Time',
        ];
    }
}
